package org.joyflow.core.meta;

public interface ValueMetaInterface {
    int TYPE_NONE = 0;
    int TYPE_NUMBER = 1;
    int TYPE_STRING = 2;
    int TYPE_DATE = 3;
    int TYPE_BOOLEAN = 4;
    int TYPE_INTEGER = 5;
    int TYPE_BIGNUMBER = 6;
    int TYPE_SERIALIZABLE = 7;
    int TYPE_BINARY = 8;
    int TYPE_TIMESTAMP = 9;
    int TYPE_INET = 10;
    String getName();
    void setName(String name);

    int getType();
    int getLength();
    void setLength(int length);
    int getPrecision();
    void setPrecision(int precision);
    boolean isInteger();
    boolean isBinary();
    boolean isNumeric();
    boolean isNumber();
    boolean isBoolean();
    boolean isString();
    boolean isBigNumber();
    boolean isDate();
}
